package com.ruoyi.lock.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.util.Date;
import java.util.List;

/**
 * 租户信息对象 a_tenantuser
 * 
 * @author arvin
 * @date 2025-03-06
 */
@Data
public class ATenantuser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话 */
    private String phone;

    /** 租户 */
    @Excel(name = "类型")
    private String type;

    /** 身份证号码 */
    @Excel(name = "学工号")
    private String idCardNumber;

    @Excel(name = "入住状态")
    private String ruzhu;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNo;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 房间id */
//    @Excel(name = "房间id")
    private Long homeId;

    /** 楼栋id */
//    @Excel(name = "楼栋id")
    @Transient
    private Long unitId;

    /** 楼层id */
//    @Excel(name = "楼层id")
    @Transient
    private Long floorId;

    /** 小区id */
//    @Excel(name = "小区id")
    @Transient
    private Long cellId;

    /** 办理状态 */
//    @Excel(name = "办理状态")
    private String isFlag;

    /** 用户性别 */
//    @Excel(name = "用户性别")
    private String gender;

    /** 用户id */
//    @Excel(name = "用户id")
    private Long userId;


    /** 删除标识 */
    private String flgDelete;

    /** 小区名称 */
    private String cellName;

    /** 单元名称 */
    private String unitName;

    /** 楼层名称 */
    private String floorName;

    /** 房间名称 */
    private String roomName;
    private List<ABuildHome> aBuildHomes;
    private String typeKey;

    /** 入住房间数量 */
    @Excel(name = "入住房间数")
    private Integer roomCount;
    @Excel(name = "备注")
    private String remark;


    private String  SUpdateTime;
    
    /** 工厂固定ID */
    @Excel(name = "物理卡号")
    private String sFactoryFixId;
    /*0 挂失 1，正常*/
    private String sCardChange;
    
    /** 钥匙卡片数量 */
    private Integer keyCardCount;

    @Excel(name = "钥匙卡片数量")
    private String keyCardCountType;
}
